package services;

import entities.*;  
import java.util.List;
import java.time.LocalDate;


public interface CreateTeamService {

	/* all system operations of the use case*/
	boolean createTeam(String id, String userId, String name, String message) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	boolean createGroup(String id, String teamId, String name, String message) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	boolean handleTeamApply(String teamId, boolean agree) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	boolean handleGroupApply(String groupId, boolean agree) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	boolean dismissGroup(String groupId) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	boolean dismissTeam(String teamId) throws PreconditionException, PostconditionException, ThirdPartyServiceException;
	
	/* all get and set functions for temp property*/
	
	/* all get and set functions for temp property*/
	
	/* invariant checking function */
}
